package com.itheima.order.pojo;


import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name="tb_order")
public class Order implements Serializable {

  private String id;
  private long totalNum;
  private long payMoney;
  private String payType;
  private Date createTime;
  private String username;
  private String receiverContact;
  private String receiverMobile;
  private String receiverAddress;
  private String sourceType;
  private String orderStatus;
  private String payStatus;
  private String isDelete;


  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }


  public long getTotalNum() {
    return totalNum;
  }

  public void setTotalNum(long totalNum) {
    this.totalNum = totalNum;
  }


  public long getPayMoney() {
    return payMoney;
  }

  public void setPayMoney(long payMoney) {
    this.payMoney = payMoney;
  }


  public String getPayType() {
    return payType;
  }

  public void setPayType(String payType) {
    this.payType = payType;
  }


  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }


  public String getReceiverContact() {
    return receiverContact;
  }

  public void setReceiverContact(String receiverContact) {
    this.receiverContact = receiverContact;
  }


  public String getReceiverMobile() {
    return receiverMobile;
  }

  public void setReceiverMobile(String receiverMobile) {
    this.receiverMobile = receiverMobile;
  }


  public String getReceiverAddress() {
    return receiverAddress;
  }

  public void setReceiverAddress(String receiverAddress) {
    this.receiverAddress = receiverAddress;
  }


  public String getSourceType() {
    return sourceType;
  }

  public void setSourceType(String sourceType) {
    this.sourceType = sourceType;
  }


  public String getOrderStatus() {
    return orderStatus;
  }

  public void setOrderStatus(String orderStatus) {
    this.orderStatus = orderStatus;
  }


  public String getPayStatus() {
    return payStatus;
  }

  public void setPayStatus(String payStatus) {
    this.payStatus = payStatus;
  }


  public String getIsDelete() {
    return isDelete;
  }

  public void setIsDelete(String isDelete) {
    this.isDelete = isDelete;
  }

}
